class Word < ActiveRecord::Base
  attr_accessible :word ,:book_id

  def self.get_words(book_id)
     return self.find_all_by_book_id(book_id).map{|x|x.word}
  end
end
